package com.the_ring.structural.bridge;

/**
 * @author: t22306139
 * @date: 2023/12/1  10:11
 */
public abstract class Phone {

    protected Software software;

    public void setSoftware(Software software) {
        this.software = software;
    }

    protected abstract void run();

    public void execute() {
        this.run();
        software.run();
    }
}
